package com.demo.test.command;

import com.demo.test.command.iml.Command;
import com.demo.test.command.iml.Receiver;

public class ConcreteCommandA implements Command {

    private ReceiverA receiver;

    public ConcreteCommandA(){
        this.receiver = new ReceiverA();
    }
    @Override
    public void execute() {
        receiver.action();
    }
}
